import { Time } from "../Time/Time";
import { TweenHelper } from "./TweenHelper";

export class TweenManager extends et.Entity {
    public static Instance: TweenManager;
}
@et.objectSystem(TweenManager)
class TweenManagerAwakeSystem extends et.AwakeSystem<TweenManager>{
    awake(self: TweenManager): void {
        TweenManager.Instance = self;
    }
}
@et.objectSystem(TweenManager)
class TweenManagerUpdateSystem extends et.UpdateSystem<TweenManager>{
    update(self: TweenManager): void {
        TweenHelper.update(Time.unScaleDeltaTime);
    }
}